### 
### I think it's not worth to make such a small project
### modular. So this is a simple gnu Makefile...
###

CC = gcc
CFLAGS = -Wall -Werror
LDLIBS = -lpng

TARGET = fbgrab

PREFIX = /usr/local
BINDIR = $(PREFIX)/bin

$(TARGET): $(TARGET).c

install:
	mkdir -p $(BINDIR)
	cp -f $(TARGET) $(BINDIR)

clean:
	rm -f $(TARGET)
